home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / aio_hold.z / aio_hold
Text File  |  1998-10-20  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAAIIIIOOOO____HHHHOOOOLLLLDDDD((((3333))))                                                        AAAAIIIIOOOO____HHHHOOOOLLLLDDDD((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      aio_hold, aio_hold64 - Defer or resume reception of asynchronous I/O
  10.      callbacks
  11.  
  12. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<aaaaiiiioooo....hhhh>>>>
  14.  
  15.      vvvvooooiiiidddd aaaaiiiioooo____hhhhoooolllldddd((((iiiinnnntttt sssshhhhoooouuuulllldddd____ hhhhoooolllldddd))));;;;
  16.  
  17.      vvvvooooiiiidddd aaaaiiiioooo____hhhhoooolllldddd66664444((((iiiinnnntttt sssshhhhoooouuuulllldddd____hhhhoooolllldddd))));;;;
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      The _aaaa_iiii_oooo______hhhh_oooo_llll_dddd_((((_)))) function allows the calling process to defer or resume the
  21.      reception of callback notification invocations. If the should_hold
  22.      parameter is _AAAA_IIII_OOOO______HHHH_OOOO_LLLL_DDDD______CCCC_AAAA_LLLL_LLLL_BBBB_AAAA_CCCC_KKKK, callbacks will be defered. If the
  23.      should_hold parameter is _AAAA_IIII_OOOO______RRRR_EEEE_LLLL_EEEE_AAAA_SSSS_EEEE______CCCC_AAAA_LLLL_LLLL_BBBB_AAAA_CCCC_KKKK_SSSS then callbacks will be
  24.      released. If the value is _AAAA_IIII_OOOO______IIII_SSSS_HHHH_EEEE_LLLL_DDDD______CCCC_AAAA_LLLL_LLLL_BBBB_AAAA_CCCC_KKKK_SSSS then nothing is done and
  25.      the current state is returned. Callbacks are the MIPS ABI preferred
  26.      method for notifications for completions of asynchronous I/O operations.
  27.  
  28. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  29.      aio_write(3), lio_listio(3), aio_error(3), aio_return(3), aio_cancel(3),
  30.      mpadmin(1), realtime(5).
  31.  
  32. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  33.      Upon successful completion the prior state is returned. A return value of
  34.      1 indicates that callbacks were being held at the time of the call and a
  35.      return value of 0 indicates they were not. Otherwise a value of -1 is
  36.      returned and is set to indicate the error.
  37.  
  38.      [EINVAL]       The value of should_hold is not one of
  39.                     AIO_ISHELD_CALLBACK, AIO_HOLD_CALLBACK or
  40.                     AIO_RELEASE_CALLBACK.
  41.  
  42.      [EIO]          It was not possible to perform this operation due to an
  43.                     error.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.